
import View=laya.ui.View;
import Dialog=laya.ui.Dialog;
module ui {
    export class GameinfoUI extends View {
		public btn_pause:Laya.Button;
		public hero_hp:Laya.Label;
		public game_level:Laya.Label;
		public game_status_label:Laya.Label;
		public btn_restart:Laya.Button;
		public btn_start:Laya.Button;
		public hero_score:Laya.Label;
		public play_sound:Laya.Image;
		public no_sound:Laya.Image;
		public final_score:Laya.Label;
		public share_icon:Laya.Image;

        public static  uiView:any ={"type":"View","props":{"width":400,"height":852},"child":[{"type":"Button","props":{"y":9,"x":221,"width":45,"var":"btn_pause","stateNum":1,"skin":"war/btn_pause.png","height":32}},{"type":"Label","props":{"y":15,"x":13,"var":"hero_hp","text":"hp:0","fontSize":20,"font":"SimHei","color":"#ee1b09"}},{"type":"Label","props":{"y":15,"x":293,"var":"game_level","text":"level:1","fontSize":20,"font":"SimHei","color":"#e5dc10"}},{"type":"Label","props":{"y":426,"x":0,"width":400,"var":"game_status_label","text":"GAME OVER !","height":34,"fontSize":25,"color":"#9f1f17","bold":true,"align":"center"}},{"type":"Button","props":{"y":464,"x":216,"width":42,"var":"btn_restart","stateNum":1,"skin":"war/btn_restart.png","height":43}},{"type":"Button","props":{"y":465,"x":136,"width":40,"var":"btn_start","stateNum":1,"skin":"war/btn_start.png","height":39}},{"type":"Label","props":{"y":15,"x":75,"var":"hero_score","text":"score:0","fontSize":20,"font":"SimHei","color":"#10a9e5"}},{"type":"Image","props":{"y":42,"x":1,"width":52,"var":"play_sound","skin":"war/play_sound.png","height":52}},{"type":"Image","props":{"y":43,"x":3,"width":49,"var":"no_sound","skin":"war/no_sound.png","height":49}},{"type":"Label","props":{"y":377,"x":-1,"width":401,"var":"final_score","text":"得分 0","height":43,"fontSize":25,"color":"#ffffff","bold":true,"align":"center"}},{"type":"Image","props":{"y":461,"x":128,"var":"share_icon","skin":"war/share_icon.png"}}]};
        constructor(){ super()}
        createChildren():void {
        
            super.createChildren();
            this.createView(ui.GameinfoUI.uiView);

        }

    }
}
